<div class="row-fluid sortable">	
	<div class="box span6" style="width:100%">
		<div class="box-header well" data-original-title>
			<h2>收费表列表</h2>
			<div class="box-icon">
				<a href="javascript:add()" class="btn btn-info"><i class="icon-edit icon-white" title="添加客服"></i></a>
			</div>
		</div>
		<div class="box-content">
			<table class="table table-bordered">
				  <thead>
					  <tr>
						  <th>起点</th>
						  <th>终点</th>
						  <th>图片</th>
						  <th>操作</th>                                    
					  </tr>
				  </thead>   
				  <tbody>
					<% if(tariff){ %>
						<%  tariff.forEach(function(t){ %> 
							<tr>
								<td class="center"><%=t.start %></td>
								<td class="center"><%=t.end %></td>
								<td class="center">
									<% if(t.img){ %><a href="<%=server.app%><%=t.img%>" target="_blank">查看图片</a><% }else{ %> 无图片 <% } %>
								</td>
								<td class="center">
									<a class="btn btn-info" href="javaScript:toUpdate('<%=t.id %>');">
										<i class="icon-edit icon-white"></i>  
										修改                                            
									</a>
									<a class="btn btn-danger" href="javascript:del('<%=t.id %>')">
										<i class="icon-trash icon-white"></i> 
										删除
									</a>
								</td>
							</tr>
						<% }) %>
					<% } %>                             
				  </tbody>
			 </table>  
		</div>
	</div>
</div>
